/*年轻人，只管向前看，不要管自暴自弃者的话*/

///create by itz on 2023/10/29 11:31
///desc : "user":{"createdTime":"2023-10-28 11:52:58","updatedTime":"2023-10-28 11:52:58","uid":1,"phone":"iO1WmlNJE5D1VMekR4z9Mg==",
///"password":null,"name":"Jomju","avatar":"default-head-img/yeye4.png","gender":null,"birthday":null,"clientVersion":null,
///"cityCode":null,"habitualCity":null,"type":1}
class UserData {
  String? createdTime;
  String? updatedTime;
  int? uid;
  String? phone;
  String? password;
  String? name;
  String? avatar;
  String? gender;
  String? birthday;
  String? clientVersion;
  String? cityCode;
  String? habitualCity;
  int? type;

  UserData(
      {this.createdTime,
      this.updatedTime,
      this.uid,
      this.phone,
      this.password,
      this.name,
      this.avatar,
      this.gender,
      this.birthday,
      this.clientVersion,
      this.cityCode,
      this.habitualCity,
      this.type});

  UserData.fromJson(Map<String, dynamic> json) {
    uid = json['uid'];
    phone = json['phone'];
    name = json['name'];
    avatar = json['avatar'];
    type = json['type'];
  }

  @override
  String toString() {
    return 'UserData{createdTime: $createdTime, updatedTime: $updatedTime, uid: $uid, phone: $phone, password: $password, name: $name, avatar: $avatar, gender: $gender, birthday: $birthday, clientVersion: $clientVersion, cityCode: $cityCode, habitualCity: $habitualCity, type: $type}';
  }
}
